﻿namespace SurfaceCardsGameKit.Games.BasicGame
{
    public struct BasicCardValue
    {
        private BasicCardsNumber _number;
        private BasicCardsColor _color;

        public BasicCardsNumber Number
        {
            get { return _number; }
            set { _number = value; }
        }

        public BasicCardsColor Color
        {
            get { return _color; }
            set { _color = value; }
        }

        public BasicCardValue(BasicCardsNumber number, BasicCardsColor color)
        {
            _number = number;
            _color = color;
        }

        public override string ToString()
        {
            return string.Format("{0} of {1}", Number, Color);
        }
    }
}